package com.ly.friend.domain.exam.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.ly.common.core.domain.PageQueryDTO.PageQueryDTO;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Setter
@Getter
public class ExamQueryDTO extends PageQueryDTO {

    private String title;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    private Integer type;// 0:代表未完赛 1:代表历史竞赛
}
